﻿using System.IO;
using System.Reflection;
using GeneratorLib.DB;

namespace MySQLProvider
{
    public class DBTypeMapProvider : IDBTypeMapProvider
    {

        public string MapName { get; private set; }
        public string MapFilePath { get; private set; }

        public DBTypeMapProvider()
        {
            MapName = "MySQLDbType";
            FileInfo fi = new FileInfo(Assembly.GetExecutingAssembly().Location);
            var currentPath = fi.Directory.FullName;
            MapFilePath = Path.Combine(currentPath, "DatatypeMap.cfg");
        }
    }
}
